package com.agent.web;

import com.agent.util.Constants;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;

@Controller
@Slf4j
public class ForwardController {

    @RequestMapping(value = "/home",method = RequestMethod.GET)
    public String toHome(){
        return "layout/default";
    }


    @RequestMapping(value = "/dept",method = RequestMethod.GET)
    public String toDept(){
        return "system/dept";
    }

    @RequestMapping(value = "/report/workOrderSerial",method = RequestMethod.GET)
    public String toWorkOrderSerial(){
        return "/report/workOrderSerial";
    }
    @RequestMapping(value = "/report/customerSatisfaction",method = RequestMethod.GET)
    public String toCustomerSatisfaction(){
        return "/report/customerSatisfaction";
    }

    @RequestMapping(value = "/report/tblCallSerial",method = RequestMethod.GET)
    public String totblCallSerial(){
        return "/report/callSerial";
    }

    @RequestMapping(value = "/report/sourceReport",method = RequestMethod.GET)
    public String tosourceReport(){
        return "/report/sourceReport";
    }

    @RequestMapping(value = "/report/deptReport",method = RequestMethod.GET)
    public String todeptReport(){
        return "/report/deptReport";
    }

    @RequestMapping(value = "/report/customKPI",method = RequestMethod.GET)
    public String tocustomKPI(){
        return "/report/customKPI";
    }

}
